<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no, minimal-ui">
    <meta name="keywords" content="your keywords">
    <meta name="description" content="your description">
    <title>群二维码</title>

    <link  href="css/viewer.min.css" rel="stylesheet">
    <script src="js/viewer.min.js"></script>
    <style>
        .album{
            margin-left: 50px;
            margin-right: 50px;
        }
        img{
            height: 30%;
            width: 32%;
        }
        img:only-child{
            height: initial;  /*相当于删除已设置的某一属性*/
            width: initial;
            max-width: 230px;
            max-height: 230px;
        }
        img:nth-child(2):nth-last-child(3){
            margin-right: 110px;
        }
    </style>
</head>
<body>
<div class="album" id="images">
    <img src="images/qrcode.jpg" alt="二维码">
    <img src="images/dkp1.jpg" alt="dkp1">
    <img src="images/dkp2.jpg" alt="dkp2">
</div>

<script>
    const gallery = new Viewer(document.getElementById('images'));

</script>

</body>
</html>